import { request } from "@/utils/service"
export function selectPage(data) {
  return request({
    url: "/smalladmin/eMobilearea/select/page",
    method: "POST",
    data,
  });
}

export function insert(data) {
  return request({
    url: "/smalladmin/eMobilearea/insertOrUpdate",
    method: "POST",
    data,
  });
}
export function batchDelete(data) {
  return request({
    url: "/smalladmin/eMobilearea/deleteBatch",
    method: "POST",
    data,
  });
}

export function dowloadTemplate() {
  return request({
    url: "/smalladmin/eMobilearea/dowloadTemplate",
    method: "POST",
    responseType: "blob"
  });
}
export function uploadTemplate(data) {
    return request({
      url: "/smalladmin/eMobilearea/uploadTemplate",
      method: "POST",
      data
    });
  }


